﻿<UserControl x:Class="Citrix.XaAdminMobile.ViewTablet.ServerDetailsView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:prop="clr-namespace:Citrix.XaAdminMobile.Properties"
             xmlns:res="clr-namespace:Citrix.XaAdminMobile.Resources"
             xmlns:u="clr-namespace:Citrix.XaAdminMobile.Util"
             xmlns:vc="clr-namespace:Citrix.XaAdminMobile.ViewCommon"
             FocusVisualStyle="{x:Null}"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
  <Grid>
    <Grid.RowDefinitions>
      <RowDefinition Height="Auto"/>
      <RowDefinition Height="*"/>
    </Grid.RowDefinitions>

    <!-- Top toolbar -->
    <Border Style="{DynamicResource ToolbarBorderStyle}">
      <u:TitleLayoutPanel>

        <!-- Server name as the title -->
        <TextBlock
          u:TitleLayoutPanel.IsTitle="True" Text="{Binding Name}"
          Style="{DynamicResource ToolbarTitleTextEmbossStyle}"/>
      </u:TitleLayoutPanel>
    </Border>

    <vc:ServerDetailsCommon Grid.Row="1" DataContext="{Binding}"/>

  </Grid>
</UserControl>
